<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>

        <th>项目</th>
        <th>小项</th>
        <th>部门</th>
    <#list 12..0 as t>
        <#if (weekNum-t>13 && weekNum-t<=26)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-13!''}</th>
        <#elseif (weekNum-t>26 && weekNum-t<=39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-26!''}</th>
        <#elseif (weekNum-t>39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-39!''}</th>
        <#else>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t!''}</th>
        </#if>
    </#list>

    </tr>
    </thead>
<tbody>
<#if ykBmbsTable.rows??>
<#list ykBmbsTable.rows as ykBmb>
    <tr>
 <td>${ykBmb.DType!''}</td>
            <td>${ykBmb.XType!''}</td>
        <#if ykBmb.XType='合计'>
            <td></td>
        <#else >
            <td>${ykBmb.orgName!''}</td>
        </#if>
            <td align="right">${ykBmb.ak1!''}</td>
            <td align="right">${ykBmb.ak2!''}</td>
            <td align="right">${ykBmb.ak3!''}</td>
            <td align="right">${ykBmb.ak4!''}</td>
            <td align="right">${ykBmb.ak5!''}</td>
            <td align="right">${ykBmb.ak6!''}</td>
            <td align="right">${ykBmb.ak7!''}</td>
            <td align="right">${ykBmb.ak8!''}</td>
            <td  align="right">${ykBmb.ak9!''}</td>
            <td align="right">${ykBmb.ak10!''}</td>
            <td align="right">${ykBmb.ak11!''}</td>
            <td align="right">${ykBmb.ak12!''}</td>
            <td align="right">${ykBmb.ak13!''}</td>
    </tr>
</#list>
</#if>
    </tbody>
</table>
<#if ykBmbsTable??>
<@page table=ykBmbsTable formId="search_ykBmb_table"/>
</#if>